import request from '@/utils/request'

// 查询考生报名信息列表
export function listCKregistration(query) {
  return request({
    url: '/chengkao/CKregistration/list',
    method: 'get',
    params: query
  })
}

// 查询考生报名信息详细
export function getCKregistration(id) {
  return request({
    url: '/chengkao/CKregistration/' + id,
    method: 'get'
  })
}

// 新增考生报名信息
export function addCKregistration(data) {
  return request({
    url: '/chengkao/CKregistration',
    method: 'post',
    data: data
  })
}

// 修改考生报名信息
export function updateCKregistration(data) {
  return request({
    url: '/chengkao/CKregistration',
    method: 'put',
    data: data
  })
}

// 删除考生报名信息
export function delCKregistration(id) {
  return request({
    url: '/chengkao/CKregistration/' + id,
    method: 'delete'
  })
}
